package com.rohoo.framework.dto;

import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;

import com.rohoo.framework.struts.action.ParamsTable;

public class BaseDTO extends ParamsTable {
	
	private String _orderby = "";
	private int _currpage = 1;
	private int _pagelines= 10;
    private String _orderby1 = "";
    private int _rowcount = 0;
    private int _selectpage = 0;
    	
	public String get_orderby1() {
		return _orderby1;
	}

	public void set_orderby1(String _orderby1) {
		this._orderby1 = _orderby1;
	}

	public int get_rowcount() {
		return _rowcount;
	}

	public void set_rowcount(int _rowcount) {
		this._rowcount = _rowcount;
	}

	public int get_selectpage() {
		return _selectpage;
	}

	public void set_selectpage(int _selectpage) {
		this._selectpage = _selectpage;
	}

	public String get_orderby() {
		return _orderby;
	}

	public void set_orderby(String _orderby) {
		this._orderby = _orderby;
	}

	public int get_currpage() {
		return _currpage;
	}

	public void set_currpage(int _currpage) {
		this._currpage = _currpage;
	}

	public int get_pagelines() {
		return _pagelines;
	}

	public void set_pagelines(int _pagelines) {
		this._pagelines = _pagelines;
	}

	public String toString() {
		return ToStringBuilder.reflectionToString(this);
	}

	public boolean equals(Object o) {
		return EqualsBuilder.reflectionEquals(this, o);
	}

	public int hashCode(Object o) {
		return HashCodeBuilder.reflectionHashCode(this);
	}

}
